Release 10.1A: OpenEdge Development:
Progress 4GL Reference


SAX-attributes object handle

Contains the attribute values of an XML element in a SAX-reader object. The purpose of the object is to hold values needed by the SAX parser to set the attribute values of a new XML element as it adds the element to a SAX-reader object. As such, the object is automatically created when the SAX-reader PARSE( ) method calls the START-ELEMENT callback procedure. The SAX-attributes object is destroyed when the START-ELEMENT callback completes.

Because the SAX-attributes object exists for a short scope, you cannot access the object before or after the life-cycle of the START-ELEMENT callback. For this reason, you should create data elements with a longer scope if you need to save values from a SAX-attributes object.

Syntax

sax-attributes-handle [ :attribute | :method ] 

sax-attributes-handle

A variable of type HANDLE.

attribute

An attribute of the SAX-attributes object.

method

A method of the SAX-attributes object.

Attributes

 

Methods

 

See also

CREATE SAX-READER statement, SAX-reader object handle


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095